package com.alks.entity.data.entity.dispatch;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Vendor implements Serializable {
    private @NotBlank(
    message = "编号不能为空"
) String rowid;
    private String companyId;
    private @NotBlank(
    message = "厂商代码不能为空"
) String vendorNo;
    private String vendorType;
    private @NotBlank(
    message = "厂商简称不能为空"
) String vendorAbbr;
    private @NotBlank(
    message = "厂商名称不能为空"
) String vendorName;
    private String vendorAddr;
    private String contactPerson;
    private String contactMobile;
    private String contactPhone;
    private String mainPerson;
    private String mainMobile;
    private String mainPhone;
    private String faxNo;
    private String email;
    private String postCode;
    private String webAddr;
    private String mainProduct;
    private String bankName;
    private String bankAddr;
    private String bankNo;
    private String taxNo;
    private String sysUser;
    private Date sysDate;
    private String faxNo2;
    private String faxNo3;
    private String email2;
    private String email3;
    private String person;
    private String mobile;
    private String phone;
    private String a01;
    private String payType;
    private Integer payPeriod;
    private Integer delFlag;
    private List<VenType> venTypes;
    private @NotEmpty(
    message = "无效的厂商类型"
) List<String> typeNos;
    private static final long serialVersionUID = 1L;

    public Vendor() {
    }

    public String getRowid() {
        return this.rowid;
    }

    public void setRowid(String rowid) {
        this.rowid = rowid;
    }

    public String getCompanyId() {
        return this.companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getVendorNo() {
        return this.vendorNo;
    }

    public void setVendorNo(String vendorNo) {
        this.vendorNo = vendorNo;
    }

    public String getVendorType() {
        return this.vendorType;
    }

    public void setVendorType(String vendorType) {
        this.vendorType = vendorType == null ? null : vendorType.trim();
    }

    public String getVendorAbbr() {
        return this.vendorAbbr;
    }

    public void setVendorAbbr(String vendorAbbr) {
        this.vendorAbbr = vendorAbbr == null ? null : vendorAbbr.trim();
    }

    public String getVendorName() {
        return this.vendorName;
    }

    public void setVendorName(String vendorName) {
        this.vendorName = vendorName == null ? null : vendorName.trim();
    }

    public String getVendorAddr() {
        return this.vendorAddr;
    }

    public void setVendorAddr(String vendorAddr) {
        this.vendorAddr = vendorAddr == null ? null : vendorAddr.trim();
    }

    public String getContactPerson() {
        return this.contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson == null ? null : contactPerson.trim();
    }

    public String getContactMobile() {
        return this.contactMobile;
    }

    public void setContactMobile(String contactMobile) {
        this.contactMobile = contactMobile == null ? null : contactMobile.trim();
    }

    public String getContactPhone() {
        return this.contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone == null ? null : contactPhone.trim();
    }

    public String getMainPerson() {
        return this.mainPerson;
    }

    public void setMainPerson(String mainPerson) {
        this.mainPerson = mainPerson == null ? null : mainPerson.trim();
    }

    public String getMainMobile() {
        return this.mainMobile;
    }

    public void setMainMobile(String mainMobile) {
        this.mainMobile = mainMobile == null ? null : mainMobile.trim();
    }

    public String getMainPhone() {
        return this.mainPhone;
    }

    public void setMainPhone(String mainPhone) {
        this.mainPhone = mainPhone == null ? null : mainPhone.trim();
    }

    public String getFaxNo() {
        return this.faxNo;
    }

    public void setFaxNo(String faxNo) {
        this.faxNo = faxNo == null ? null : faxNo.trim();
    }

    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPostCode() {
        return this.postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode == null ? null : postCode.trim();
    }

    public String getWebAddr() {
        return this.webAddr;
    }

    public void setWebAddr(String webAddr) {
        this.webAddr = webAddr == null ? null : webAddr.trim();
    }

    public String getMainProduct() {
        return this.mainProduct;
    }

    public void setMainProduct(String mainProduct) {
        this.mainProduct = mainProduct == null ? null : mainProduct.trim();
    }

    public String getBankName() {
        return this.bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName == null ? null : bankName.trim();
    }

    public String getBankAddr() {
        return this.bankAddr;
    }

    public void setBankAddr(String bankAddr) {
        this.bankAddr = bankAddr == null ? null : bankAddr.trim();
    }

    public String getBankNo() {
        return this.bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo == null ? null : bankNo.trim();
    }

    public String getTaxNo() {
        return this.taxNo;
    }

    public void setTaxNo(String taxNo) {
        this.taxNo = taxNo == null ? null : taxNo.trim();
    }

    public String getSysUser() {
        return this.sysUser;
    }

    public void setSysUser(String sysUser) {
        this.sysUser = sysUser == null ? null : sysUser.trim();
    }

    public Date getSysDate() {
        return this.sysDate;
    }

    public void setSysDate(Date sysDate) {
        this.sysDate = sysDate;
    }

    public String getFaxNo2() {
        return this.faxNo2;
    }

    public void setFaxNo2(String faxNo2) {
        this.faxNo2 = faxNo2 == null ? null : faxNo2.trim();
    }

    public String getFaxNo3() {
        return this.faxNo3;
    }

    public void setFaxNo3(String faxNo3) {
        this.faxNo3 = faxNo3 == null ? null : faxNo3.trim();
    }

    public String getEmail2() {
        return this.email2;
    }

    public void setEmail2(String email2) {
        this.email2 = email2 == null ? null : email2.trim();
    }

    public String getEmail3() {
        return this.email3;
    }

    public void setEmail3(String email3) {
        this.email3 = email3 == null ? null : email3.trim();
    }

    public String getPerson() {
        return this.person;
    }

    public void setPerson(String person) {
        this.person = person == null ? null : person.trim();
    }

    public String getMobile() {
        return this.mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getA01() {
        return this.a01;
    }

    public void setA01(String a01) {
        this.a01 = a01 == null ? null : a01.trim();
    }

    public String getPayType() {
        return this.payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public Integer getPayPeriod() {
        return this.payPeriod;
    }

    public void setPayPeriod(Integer payPeriod) {
        this.payPeriod = payPeriod;
    }

    public List<VenType> getVenTypes() {
        return this.venTypes;
    }

    public void setVenTypes(List<VenType> venTypes) {
        this.venTypes = venTypes;
    }

    public List<String> getTypeNos() {
        return this.typeNos;
    }

    public void setTypeNos(List<String> typeNos) {
        this.typeNos = typeNos;
    }

    public Integer getDelFlag() {
        return this.delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
}
